enum nodeType { CHAR, CONCAT, UNION, STAR };

class Node {
	private:
		Node *left;
		Node *right;
		char token;
		nodeType type;
	public:
		Node *getRight();
		Node *getLeft();
		char getToken();
		Node(nodeType type, char token, Node *left, Node *right);
		Node();
};
